package Problem;

public class Problem4 {
    public static void main(String[] args) {
        Son son = new Son(4);
    }
}
class Son extends Father {
    static {
        System.out.println("son::static");
    }
    {
        System.out.println("son::实例");
    }

    public Son(int age) {
        super(age);
        System.out.println("son::构造器");
    }
}
class Father {
    public static String name;
    public int age  = 1;
    static {
        System.out.println("father::static");
    }

    {
        System.out.println("father::实例");
    }

    public Father(int age) {
        this.age = age;
        System.out.println("father::构造器");
    }
}